<template>
	<div>
		<ul>
			<li v-for="(stu, index) in stus" v-text="index + 1 + '、' + stu.name + '(' + stu.score + ')'" v-bind:key="index">
			</li>
		</ul>
		<ul id="v-for-object" class="demo">
			<li v-for="(value, key, index) in person" v-bind:key="index">
				{{ index+1 + "、" + key +":" +value }}
			</li>
		</ul>
	</div>
</template>
<script>
	export default {
		data() {
				return {
					stus: [{
						name: 'jack',
						score: 'A'
					}, {
						name: 'rose',
						score: 'B'
					}],
					person: {
						name: 'mike',
						nickName: 'mk'
					}
				}
			},
			//属于组件
			methods: {}
	}
</script>
<style>

</style>